package com.ocean;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * {@code @Author:} FuGui Wang
 * {@code @Description:} TODO 启动程序
 * {@code @Date} 2022/11/28
 * {@code @Version} V1.1.0
 */
@Slf4j
@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class })
@EnableScheduling
public class OceanApplication
{
    public static void main(String[] args)
    {
        SpringApplication.run(OceanApplication.class, args);
        log.info("#      ,----------------,              ,---------,\n" +
                "#         ,-----------------------,          ,\"        ,\"|\n" +
                "#       ,\"                      ,\"|        ,\"        ,\"  |\n" +
                "#      +-----------------------+  |      ,\"        ,\"    |\n" +
                "#      |  .-----------------.  |  |     +---------+      |\n" +
                "#      |  |                 |  |  |     | -==----'|      |\n" +
                "#      |  |  NEVER BUG!     |  |  |     |         |      |\n" +
                "#      |  |  Bad command or |  |  |/----|`---=    |      |\n" +
                "#      |  |  C:\\>_          |  |  |   ,/|==== ooo |      ;\n" +
                "#      |  |                 |  |  |  // |(((( [33]|    ,\"\n" +
                "#      |  `-----------------'  |,\" .;'| |((((     |  ,\"\n" +
                "#      +-----------------------+  ;;  | |         |,\"\n" +
                "#         /_)______________(_/  //'   | +---------+\n" +
                "#    ___________________________/___  `,\n" +
                "#   /  oooooooooooooooo  .o.  oooo /,   \\,\"-----------\n" +
                "#  / ==ooooooooooooooo==.o.  ooo= //   ,`\\--{)B     ,\"\n" +
                "# /_==__==========__==_ooo__ooo=_/'   /___________,\"");
        log.info("{}", "ocean-new service init success (国家海洋预报云服务平台服务启动成功). . . . . .");
        log.info("项目访问路径：{}","http://127.0.0.1:8011/home");
        log.info("管理员用户名 密码：{}","admin,FTPadmin  20230201@admin#asd");
        log.info("管理员用户名 密码：{}","停用用戶默認密碼,FTPadmin密码  0201@Yh#asd");
        log.info("用户名 密码：{}","正常启用用戶默認密碼  QWer!@34");
    }


}
